package com.practice.tkmybatis.config;

public class MyThreadLocal {
    public static final ThreadLocal<String> local = new ThreadLocal<>();

    public static String getDataSource() {
        return local.get();
    }

    public static void setDataSource(String dataSource) {
        local.set(dataSource);
    }
}
